package ch01.factory;

/**
 * Created by zc on 2016/11/20.
 */
public class Client {

    public static void main(String[] args){
        Creator creator = new ConcreteCreator();
        Product product = creator.createProduct(ConcreateProduct1.class);
        product.method1();
        product.method2();
    }
}
